﻿# -*- coding:utf-8 -*-
#
#
from django.conf import settings
from django.shortcuts import render_to_response
#from django.shortcuts import get_object_or_404
#from django.http import HttpResponseRedirect
#from django.http import HttpResponseForbidden
#from django.http import Http404
from django.template import RequestContext, Context
#from django.contrib.auth.models import User
#from django.contrib.auth.decorators import login_required
#from django.core.urlresolvers import reverse
#from django.db.models.loading import get_model

def index(request):
    context = Context({
      'm': 'test'
    })
    return render_to_response('main/index.html', context, context_instance=RequestContext(request))
    
   
def error_404(request): 
    return  render_to_response('404.html')
    
    
    
def error_403(request): 
    return render_to_response('403.html')



def error_500(request): 
    return render_to_response('500.html')  